package com.gao.mybatis.mapper;

import com.gao.mybatis.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Projectname SSM
 * @Filename SpecialSQLMapper
 * @Author an
 * @Data 2022/7/29 8:47
 * @Description TODO
 */
public interface SpecialSQLMapper {

    //模糊查询
    List<User> getUserByLike(@Param("mohu") String mohu);

    //批量删除
    void deleteMoreUser(@Param("ids") String ids);
    //动态设置表名
    List<User> getUserList(@Param("tableName") String tableName);

    //添加用户信息
    void InsertUser(User user);
}
